package com.piaodekuai.flight.web;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

//@RestController
@Controller
public class adminUserController {

    @RequestMapping("/login3")
    public String login3(Model m) throws Exception {

        if(false){
            throw new Exception("some exception");
        }

        //return "Hello Spring Boot!";
        return "adminUser/login";
    }

    @RequestMapping("/bankCard")
    public String bankCard(Model m) throws Exception {

        if(false){
            throw new Exception("some exception");
        }

        //return "Hello Spring Boot!";
        return "adminUser/bankCard";
    }
    @RequestMapping("/cash_back")
    public String cash_back(Model m) throws Exception {

        if(false){
            throw new Exception("some exception");
        }

        //return "Hello Spring Boot!";
        return "adminUser/cash_back";
    }

    @RequestMapping("/couponList")
    public String couponList(Model m) throws Exception {

        if(false){
            throw new Exception("some exception");
        }

        //return "Hello Spring Boot!";
        return "adminUser/couponList";
    }

    @RequestMapping("/effectiveFlight")
    public String effectiveFlight(Model m) throws Exception {

        if(false){
            throw new Exception("some exception");
        }

        //return "Hello Spring Boot!";
        return "adminUser/effectiveFlight";
    }
    @RequestMapping("/evaluate")
    public String evaluate(Model m) throws Exception {

        if(false){
            throw new Exception("some exception");
        }

        //return "Hello Spring Boot!";
        return "adminUser/evaluate";
    }
    @RequestMapping("/successOrder")
    public String successOrder(Model m) throws Exception {

        if(false){
            throw new Exception("some exception");
        }

        //return "Hello Spring Boot!";
        return "adminUser/successOrder";
    }

    @RequestMapping("/admin_index")
    public String admin_index(Model m) throws Exception {

        if(false){
            throw new Exception("some exception");
        }

        //return "Hello Spring Boot!";
        return "adminUser/admin_index";
    }

    @RequestMapping("/inform")
    public String inform(Model m) throws Exception {

        if(false){
            throw new Exception("some exception");
        }

        //return "Hello Spring Boot!";
        return "adminUser/inform";
    }
    @RequestMapping("/integralList")
    public String integralList(Model m) throws Exception {

        if(false){
            throw new Exception("some exception");
        }

        //return "Hello Spring Boot!";
        return "adminUser/integralList";
    }
    @RequestMapping("/invalidOrder")
    public String invalidOrder(Model m) throws Exception {

        if(false){
            throw new Exception("some exception");
        }

        //return "Hello Spring Boot!";
        return "adminUser/invalidOrder";
    }

    @RequestMapping("/message")
    public String message(Model m) throws Exception {

        if(false){
            throw new Exception("some exception");
        }

        //return "Hello Spring Boot!";
        return "adminUser/message";
    }

    @RequestMapping("/orderIncome")
    public String orderIncome(Model m) throws Exception {

        if(false){
            throw new Exception("some exception");
        }

        //return "Hello Spring Boot!";
        return "adminUser/orderIncome";
    }
    @RequestMapping("/safety")
    public String safety(Model m) throws Exception {

        if(false){
            throw new Exception("some exception");
        }

        //return "Hello Spring Boot!";
        return "adminUser/safety";
    }

    @RequestMapping("/userInfo")
    public String userInfo(Model m) throws Exception {

        if(false){
            throw new Exception("some exception");
        }

        //return "Hello Spring Boot!";
        return "adminUser/userInfo";
    }
}
